﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Site/Views/Shared/main.Master" Inherits="System.Web.Mvc.ViewPage<Jzy.UI.Web.Areas.Site.Models.ArticleListModel>" %>
<%@ Import Namespace="Jzy.UI.Web.Areas.Site.BaseCode" %>
<%@ Import Namespace="Jzy.UI.Web.BaseCode" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%= SiteStyle.Pager %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="nav" runat="server">
<a href="/">首页</a> ><%=this.Model.MenuName %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

 <ul>
        <%foreach (Cms.Entity.Article.ArticleInfo info in this.Model.List)
          { %>
                <li><div><span class="list_span_content"><a href="<%=SitePath.VirtualRoot %>Article/Detail/ID<%=info.ID %>/"><%=info.Name %></a></span>（<%=info.InputTime.ToString("yyyy-MM-dd") %>）</div>
                    <p>
                        <% =info.Summary == "" ? "" : info.Summary + "…" %>
                    </p>
                </li>
            <%} %>
    </ul>
    <div style="clear:both; height:10px; line-height:10px;"></div>
       
       <%=HtmlPager.Pager(Model.CurrentPage,Model.PageSize,Model.RecordCount, SitePath.VirtualRoot + "Article/PictureList/" + this.Model.MenuCode + "/") %>
      <div style="clear:both; height:10px;"></div>
</asp:Content>

